.main_todo {
    position: relative;
    width: 1200px;
    height: 82vh;
    margin: 16px auto 0;
    // max-height: 795px;
    min-height: 575px;
    padding: 20px 30px 49px 30px;
    background-color: #ffffff;
    border-radius: 8px;

    .todo_option {
        margin-bottom: 12px;

        &::after {
            content: "";
            display: block;
            clear: both;
        }

        .option_one {
            display: inline-block;
            vertical-align: middle;
            padding: 0 11px;
            height: 30px;
            line-height: 28px;
            border: 1px solid #b2d4ff;
            border-left: 0;

            &:not(.active) {
                cursor: pointer;

                &:hover {
                    opacity: 0.8;
                }
            }

            &:first-of-type {
                border-radius: 3px 0 0 3px;
                border-left: 1px solid #b2d4ff;
            }

            &:last-of-type {
                border-radius: 0px 3px 3px 0px;
            }

            // &.active {
            //     background-color: #f1f7ff;
            //     color: #0290fd;
            // }

            // &:hover {
            //     color: #0290fd;
            // }
        }

        .slice_line {
            display: inline-block;
            vertical-align: middle;
            width: 1px;
            height: 16px;
            margin: 0 10px;
            background-color: #d9d9d9;
        }

        .option_select {
            display: inline-block;
            vertical-align: middle;
            margin-right: 12px;
            width: 100px;
            height: 30px;

            .lg-select-root .lg-select-frame {
                width: 100px;
            }

        }

        .list_info {
            display: inline-block;
            vertical-align: middle;
            color: #999;

            span {
                color: #333;
            }
        }

        .option_search {
            float: right;
            display: block;
        }
    }

    .todo_list {
        .todo_one {
            width: 100%;
            display: flex;
            justify-content: space-between;
            height: 49px;
            padding: 12px 20px;
            border-bottom: 1px solid #f2f2f2;
            cursor: pointer;

            &:hover {
                background-color: #f5f7fa;
            }

            .todo_left {
                max-width: calc(100% - 170px);
                display: flex;

                .todo_icon {
                    display: inline-block;
                    vertical-align: top;
                    width: 32px;
                    height: 100%;
                    background-image: url(../../../images/todo/notice.png);
                    background-position: left top;
                    background-repeat: no-repeat;
                    background-size: 24px 24px;

                    &.todo_type1 {
                        background-image: url(../../../images/todo/todo-type1.png);
                    }

                    &.todo_type2 {
                        background-image: url(../../../images/todo/todo-type2.png);
                    }

                    &.todo_type3 {
                        background-image: url(../../../images/todo/todo-type3.png);
                    }

                    &.todo_type4 {
                        background-image: url(../../../images/todo/todo-type4.png);
                    }
                }

                .one_info {
                    flex: 1;
                    display: flex;
                    max-width: calc(100% - 32px);
                    vertical-align: top;

                    .info_type {
                        font-weight: bold;
                        margin-bottom: 5px;

                    }

                    .info_content {
                        flex: 1;
                        margin-left: 8px;
                        color: #666;
                        margin-bottom: 5px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }


                    .gap_time {
                        margin-right: 5px;
                        margin-left: 3px;
                        font-size: 12px;
                        padding: 0 5px;
                        height: 22px;
                        line-height: 22px;
                        font-weight: normal;
                        background-color: rgba(#ff6600, 0.08);
                        color: #ff6600;
                    }

                    .add_schedule_option {
                        .already_add {
                            height: 18px;
                            display: inline-block;
                            line-height: 18px;
                            background-color: rgba(83, 134, 216, 0.2);
                            border-radius: 3px;
                            font-size: 12px;
                            padding: 0 5px;
                            margin-left: 8px;
                            color: #5386d8;
                        }

                        .add_schedule_btn {
                            padding-left: 16px;
                            position: relative;
                            height: 20px;
                            display: none;
                            line-height: 20px;
                            border-radius: 3px;
                            font-size: 14px;
                            padding: 0 5px;
                            padding-left: 16px;
                            margin-left: 8px;
                            font-weight: normal;
                            color: #0099ff;

                            .add_icon {
                                position: absolute;
                                left: 0;
                                top: 2px;
                                width: 16px;
                                height: 16px;
                                background-image: url(../../../images/add.png);
                            }

                            &:hover {
                                opacity: .8;
                            }
                        }


                    }


                }
            }

            .todo_right {
                font-size: 12px;
                color: #999;
                display: flex;
                align-items: center;

                span {
                    font-size: inherit;
                    vertical-align: middle;
                }

                .info_time {
                    white-space: nowrap;
                }

                & span:nth-child(2) {
                    display: inline-block;
                    width: 1px;
                    height: 10px;
                    margin: 0 10px;
                    font-size: 12px;
                    background-color: #d9d9d9;
                }

            }

            &:hover .one_info .add_schedule_option .add_schedule_btn {
                display: inline-block;
            }
        }
    }

    .showMore_setting {
        border: none !important;
        background-color: rgb(247, 247, 247);

        .ant-collapse-item {
            border: none;

            .ant-collapse-header {
                padding: 5px 10px;
                color: #0099ff;

                .ant-collapse-arrow {
                    position: absolute;
                    top: 50%;
                    right: 16px;
                    left: auto;
                    margin: 0;
                    transform: translateY(-50%);
                }
            }
        }

        .ant-collapse-content {
            overflow: initial;
            background-color: #f7f7f7;
            border-top: 1px solid #e5e5e5;

            .ant-collapse-content-box {
                padding: 16px 0 10px;
            }
        }
    }

    .todo_footer {
        display: flex;
        justify-content: end;
        text-align: right;
        margin-top: 20px;

        &::after {
            content: "";
            display: block;
            clear: both;
        }
    }
}

.modalBox {
    .option_date {
        width: 116px !important;
        height: 30px !important;

        .ant-picker-input>input {
            font-size: 13px !important;
        }
    }

    .option_time {
        .el-date-editor.el-input {
            width: 83px;
            margin-left: 5px;
            height: 30px;

            .el-input__inner {
                height: 30px;
            }
        }
    }

    .date_slice {
        display: inline-block;
        vertical-align: middle;
        width: 1px;
        height: 8px;
        margin: 0 12px;
        background-color: #333;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .option_name {
        display: inline-block;
        width: 79px;
        text-align: end;
        margin-right: 8px;
        white-space: nowrap;
        color: #666;
    }

    .modal_datepicker {
        margin-right: 5px;
    }


    .schedule_title {
        position: relative;

        .lg-input-warp {
            padding-right: 40px;
            width: 400px;
        }

        .number_tip {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: #999;
        }
    }

    .schedule_remark {
        align-items: flex-start;
        // margin: 10px 0;

        .schedule_content {
            position: relative;

            .number_tip {
                position: absolute;
                right: 7px;
                bottom: -6px;
                transform: translateY(-50%);
                font-size: 12px;
                color: #999;
            }
        }

        .textarea-warp {
            background-color: #fff;

            .lg-textarea-inner {
                width: 630px;
                height: 72px;
                resize: none;
            }
        }
    }

    .modal_collapse {
        .lg-panel-header-warp {
            height: 32px;
            background-color: #f7f7f7;

            .lg-panel-title {
                color: #0099ff;
            }
        }

        .high_setting {
            color: #0099ff;
            cursor: pointer;
            margin-left: 71px;

            i {
                display: inline-block;
                vertical-align: middle;
                width: 5px;
                height: 9px;
                background-image: url(../../../images/查看画像.svg);
                position: relative;
                transform: rotate(90deg);
                margin: -2px 0 0 4px;
                transition: all .2s;

                &.up {
                    transform: rotate(-90deg);
                }
            }

            &:hover {
                opacity: .8;
            }
        }

        .setting_container {
            background-color: #f5f5f5;
            border-radius: 3px;
            padding: 14px 0;

            .remind_setting {
                margin-bottom: 8px;

                .setting_name {
                    display: inline-block;
                    width: 79px;
                    text-align: right;
                    color: #999;
                    margin-right: 8px;
                }

                .ant-checkbox+span {
                    padding-left: 3px;
                }
            }

            .setting_time {
                margin-bottom: 12px;

                .remind_select {
                    margin-left: 83px;

                    span.ant-radio+* {
                        padding-left: 3px;
                    }

                    .ant-radio-wrapper {
                        margin: 0 16px 0 0;
                    }
                }

                .remind_text {
                    margin-left: -16px;
                    color: #666;

                    &.disable {
                        opacity: .5;
                    }

                    input {
                        width: 60px;
                        height: 26px;
                        margin: 0 5px;
                        outline: 0;
                        padding: 0 0 0 9px;
                        border: 1px solid #d9d9d9;
                        color: #333;

                        &.disabled {
                            color: #999;
                        }
                    }
                }
            }

            .schedule_location,
            .setting_option {
                display: flex;
                align-items: flex-start;
                margin-bottom: 10px;

                .setting_name {
                    display: inline-block;
                    vertical-align: top;
                    width: 75px;
                    text-align: right;
                    color: #999;
                    margin-right: 10px;
                    line-height: 26px;
                }

                .lg-select-root .lg-select-frame {
                    width: 140px;
                }
            }


            .setting_again {
                display: flex;
                align-items: center;

                .setting_name {
                    display: inline-block;
                    vertical-align: top;
                    width: 75px;
                    text-align: right;
                    color: #999;
                    margin-right: 10px;
                    line-height: 26px;
                }

                .again_select {
                    width: 120px;

                    .ant-select-selector {
                        height: 26px;

                        .ant-select-selection-item {
                            line-height: 24px;
                        }
                    }
                }
            }
        }
    }
}

.lg-input-root {
    background-color: #fff;
}

.lg_popLayer_container,
.lg-panel-children-warp,
.lg_popLayer_main,
.lg_popLayer_main_detail,
.lg-ViewWarp-flex-root {
    overflow: visible !important;
}

.assignment_pop {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9998;
    top: -6px;

    p {
        /* height: 24px; */
        font-family: Microsoft YaHei;
        font-size: 14px;
        line-height: 24px;
        font-weight: normal;
        font-stretch: normal;
        letter-spacing: 0px;
        margin: 0;
        margin-bottom: 8px;
        text-align: left;
        color: #333333;

        .left {
            /* text-align: right;
            width: 71px; */
            font-style: normal;
            color: #999999;
        }

        .assignment-originator-avatar {
            display: inline-block;
            width: 24px;
            height: 24px;
            margin-right: 5px;
            border-radius: 24px;
            background-image: url("../../../images/0g00901.svg");
            background-size: contain;
        }

        .assignment-originator-id {
            color: #999999;
        }
    }

    span {
        display: inline-block;
        vertical-align: top;
        font-size: 14px;
        height: 100%;
        line-height: 24px;
    }

    .assignment_card {
        position: absolute;
        top: 200px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
        border-radius: 3px;
        font-family: MicrosoftYaHei;
        font-size: 16px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 56px;
        letter-spacing: 0px;
        color: #333333;
        width: 480px;
        height: 290px;
        background-color: #ffffff;

        .reason_box {
            display: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 30px;
            width: 420px;
            height: 215px;
            background-color: #fff;
            box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
            z-index: 10000;

            & p {
                font-family: Microsoft YaHei;
                font-size: 14px;
                font-weight: bold;
                font-stretch: normal;
                line-height: 14px;
                letter-spacing: 0px;
                color: #333333;
                text-align: left;
                padding-left: 16px;
                padding-top: 16px;
                height: 48px;
                margin: 0;
                box-sizing: border-box;
            }

            .reason_close {
                width: 12px;
                height: 12px;
                float: right;
                margin: 16px;
                background-image: url(../../../images/关闭.png);
                background-position: center;
                background-size: contain;
                cursor: pointer;
            }

            & textarea::placeholder {
                color: #ccc;
                font-family: Microsoft YaHei;
                font-size: 12px;
            }

            .reason_text {
                width: 385px;
                height: 70px;
                border-color: #ccc;
                border-radius: 3px;
                padding: 10px;
                resize: none;
                box-sizing: border-box;
                outline: #64c1ff;
                margin-left: 17px;
                font-family: Microsoft YaHei;
                font-size: 12px;
                overflow-y: hidden;
                line-height: 16px;

                &:focus {
                    border-color: #0099ff;
                }
            }

            .reason_check {
                display: flex;
                align-items: center;
                padding: 0 17px;
                margin-top: -10px;

                & input {
                    display: inline-block;
                    border-radius: 0;
                }

                & span {
                    display: inline-block;
                    margin-left: 3px;
                    font-size: 12px;

                    i {
                        font-size: 12px;
                        font-style: normal;
                        color: #ff6600;
                    }
                }
            }

            .reason_footer {
                margin-top: 10px;
                padding: 0 120px;

                & span {
                    width: 70px;
                    height: 30px;
                    border: 1px solid #a2bfdb;
                    box-sizing: border-box;
                    border-radius: 3px;
                    line-height: 30px;
                    text-align: center;
                    color: #1a61a8;
                    cursor: pointer;

                    &:hover {
                        opacity: .8;
                    }
                }

                .reason_confirm {
                    background-color: #1a61a8;
                    color: #fff;
                    margin-right: 10px;
                }
            }

        }

        .assignment_close {
            width: 12px;
            height: 12px;
            float: right;
            margin: 16px;
            background-image: url(../../../images/关闭.png);
            background-position: center;
            background-size: contain;
            cursor: pointer;
        }

        .title {
            font-family: Microsoft YaHei;
            font-size: 14px;
            font-weight: bold;
            font-stretch: normal;
            line-height: 14px;
            letter-spacing: 0px;
            color: #333333;
            text-align: left;
            padding-left: 16px;
            padding-top: 16px;
            width: 480px;
            height: 48px;
            margin: 0;
            box-sizing: border-box;
        }

        .content_box {
            position: absolute;
            top: 51px;
            left: 30px;
            max-width: 425px;

            .assignment_remark {
                width: 417px;
                display: flex;
                justify-content: flex-start;

                .assignment_content {
                    max-width: 345px;
                    max-height: 70px;
                    overflow: hidden;
                    -webkit-line-clamp: 3;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    font-size: 14px;
                    line-height: 22px;
                    font-weight: normal;
                    font-stretch: normal;
                    letter-spacing: 0px;
                    color: #333333;
                }
            }

            .assignment_type {
                font-family: Microsoft YaHei;
                font-size: 14px;
                line-height: 24px;
                font-weight: normal;
                font-stretch: normal;
                letter-spacing: 0px;
                margin: 0;
                margin-bottom: 8px;
                text-align: left;
                color: #333333;
                font-size: 16px;
                max-width: 370px;
                margin-bottom: 5px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        .assignment_footer {
            position: absolute;
            bottom: 11px;
            width: 480px;
            height: 56px;
            line-height: 56px;
            padding-right: 20px;
            text-align: center;
            box-sizing: border-box;

            & span {
                width: 90px;
                height: 30px;
                color: #fff;
                margin-left: 12px;
                font-size: 14px;
                text-align: center;
                line-height: 30px;
                vertical-align: middle;
                cursor: pointer;
                background-image: linear-gradient(268deg,
                        #39d7ff 0%,
                        #009cff 100%);
                border-radius: 15px;
                box-shadow: 0px 1px 0px 0px #f2f2f2;

                &:hover {
                    opacity: .8;
                }
            }

            .assignment_yes {
                background-image: linear-gradient(-270deg,
                        #32b332 0%,
                        #3bcd3b 100%);
            }

            .assignment_no {
                background-image: linear-gradient(270deg,
                        #fe7784 0%,
                        #ec5260 100%);
            }
        }

    }
}



/* #region */
/* 自定义弹窗开始 */

@keyframes popupShow {
    0% {
        transform: scale(0) translateX(-50%);
        opacity: .3;
    }

    100% {
        transform: scale(1) translateX(-50%);
        opacity: 1;
    }
}

.custom-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);

    .popup-card {
        position: absolute;
        left: 50%;
        top: 200px;
        transform: translateX(-50%);
        width: 480px;
        min-height: 290px;
        max-height: 470px;
        overflow: hidden;
        padding-bottom: 10px;
        background-color: #fff;
        box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.16);
        border-radius: 3px;
        box-sizing: border-box;
        transform-origin: left center;
        animation: popupShow 1 linear .3s;

        .close-btn {
            position: absolute;
            top: 19px;
            right: 16px;
            width: 12px;
            height: 12px;
            background-image: url(../../../images/关闭.png);
            background-position: center;
            background-size: contain;
            cursor: pointer;
        }

        .title {
            font-family: Microsoft YaHei;
            font-size: 14px;
            font-weight: 700;
            padding: 16px 16px 10px 16px;
            font-stretch: normal;
            letter-spacing: 0px;
            line-height: 28px;
            color: #333333;
        }

        .content-box {
            width: 417px;
            min-height: 150px;
            padding: 0 30px;

            .content-title {
                font-family: MicrosoftYaHei;
                font-size: 16px;
                font-weight: normal;
                font-stretch: normal;
                letter-spacing: 0px;
                line-height: 21px;
                margin-bottom: 13px;
                color: #333333;
            }

            p {
                font-family: Microsoft YaHei;
                font-size: 14px;
                line-height: 24px;
                font-weight: normal;
                font-stretch: normal;
                letter-spacing: 0px;
                margin: 0;
                margin-bottom: 8px;
                text-align: left;
                color: #333333;

                span {
                    display: inline-block;
                    vertical-align: top;
                    font-size: 14px;
                    height: 100%;
                    line-height: 24px;
                }

                .left {
                    white-space: nowrap;
                    font-style: normal;
                    color: #999999;
                }

                .right {
                    max-width: 350px;
                    -webkit-line-clamp: 3;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;

                    .avatar {
                        display: inline-block;
                        width: 24px;
                        height: 24px;
                        margin-right: 5px;
                        border-radius: 24px;
                        background-image: url(../../../images/0g00901.svg);
                        background-size: contain;
                    }

                    .userName,
                    .userId {
                        display: inline-block;
                        max-width: 100px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }

                    .userId {
                        color: #999999;
                    }
                }
            }

            .content-row {
                display: flex;
            }
        }

        .custom-footer {
            text-align: center;

            span {
                display: inline-block;
                cursor: pointer;
                width: 90px;
                height: 30px;
                line-height: 30px;
                text-align: center;
                font-size: 14px;
                color: #fff;
                margin: 14px 0;
                margin-right: 12px;
                background-image: linear-gradient(268deg,
                        #39d7ff 0%,
                        #009cff 100%);
                box-shadow: 0px 1px 0px 0px #f2f2f2;
                border-radius: 15px;

                &:hover {
                    opacity: .8;
                }
            }

            .confirm {
                background-image: linear-gradient(-270deg,
                        #32b332 0%,
                        #3bcd3b 100%);
            }

            .refuse {
                background-image: linear-gradient(-270deg,
                        #fe7784 0%,
                        #ec5260 100%);
                border-radius: 15px;
            }
        }

    }
}

.lg-select-menu-menu {
    width: 100px !important;
}

/* #endregion */
/* 自定义弹窗结束 */